package cn.ex;

import java.util.List;

public class Ge {
    static int countLegs(List<? extends Object> animals) {
        int retVal = 0;
        for (Object animal : animals) {
        }
        return retVal;
    }

    static int countLegs1(List<Object> animals) {
        int retVal = 0;
        for (Object animal : animals) {

        }
        return retVal;
    }

    public static void main(String[] args) {


    }
}
